package com.ym.medical.service;

import com.ym.core.utils.tkmybatis.IBaseSV;
import com.ym.medical.domain.bo.PushBean;
import com.ym.medical.domain.entity.JpushAccountEntity;

/**
 * 极光账号Service接口
 *
 * @author ym
 * @date 2020-08-21
 */
public interface IJpushAccountSV extends IBaseSV<JpushAccountEntity> {

	/**
	 * 推送极光消息
	 *
	 * @param pushBean
	 */
	void pushMessage(PushBean pushBean, boolean persistence);

	/**
	 * 下单成功后，推送订单消息给医生APP
	 *
	 * @param orderId
	 */
	void pushOrderMsg2Doctors(Long orderId);

}
